package com.li.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author LiDong
 * @version 1.0.0
 * @createTime 8/18/2022 9:57 AM
 */
@Controller
public class TestController {

    @RequestMapping(value = "/index")
    public String message(Model model) {
        model.addAttribute("data","SpringBoot集成Thymeleaf模版引擎");
        return "index";
    }
}
